<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chat Demo</title>
</head>
<body>
    <h1>Chat Demo</h1>
    <form action="/chat/" method="post">
        <label for="input">Your Message:</label>
        <input type="text" id="input" name="input">
        <button type="submit">Send</button>
    </form>
    <div>
        <h2>Request:</h2>
        <p>{{ request }}</p>
    </div>
    <div>
        <h2>Response:</h2>
        <p>{{ response }}</p>
    </div>
</body>
</html>